public with sharing class newStudent {

public String  message{get;set;}

NewSchoolStudents__c student;


 public NewSchoolStudents__c getStudent() {
 student=new NewSchoolStudents__c (); 
  return student;
}

public PageReference addStu() {

 Database.insert(student);
 message ='添加成功';
 return null;
}
}